package com.phiture.erp.produce.core.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 工艺工序新增/修改 Request VO")
@Data
public class ErpProduceProcessSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22040")
    private Long id;

    @Schema(description = "工序编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "工序编码不能为空")
    private String codeNo;

    @Schema(description = "工序名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "工序名称不能为空")
    private String processName;

    @Schema(description = "工作中心")
    private Long workCenter;

    @Schema(description = "状态(0:无效 1有效)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态(0:无效 1有效)不能为空")
    private Integer status;

    @Schema(description = "描述", example = "随便")
    private String description;

}